<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <%@ include file="/common/CimsCommon.jsp" %>
   <title>查看风险金明细</title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <script type="text/javascript" src="${basePath}/js/cims/creditManage/queryTCMmRiskFund.js"></script>
</head>
  
<body style="background-color:#FFFFFF">
<div id="formPageSwap">
  <br/>
<form id="viewNewsFormData" name="viewNewsFormData" isCheck="true" action="com.jy.modules.cims.common.controller.TCMmRiskFundController">
	<div class="expandSwap">
		<div class="expandTitle">
			<span class="text">合约信息</span><span class="expandBtn"></span>
		</div>
		 
		<div class="expandContent">
			 <table id="viewNewsTableId" class="formTableSwap" border="0" align="center" cellpadding="0" cellspacing="1" >
				<tr>
				  <th> 合作机构 ：</th>
				  <td > 
				    ${dto.cooperorgName}
				  </td>
				  <th> 协议名称：</th>
				  <td >
				    ${dto.agreementName}
				  </td>
				  <th> 合约名称：</th>
				  <td > 
				    ${dto.contractName}
				  </td>
				  
				</tr>
				
				<tr>
				  <th> 发起方 ：</th>
				  <td > 
				    ${dto.initiator}
				  </td>
				  <th> 接收方：</th>
				  <td colspan="3"> 
				    ${dto.receiver}
				  </td>
				</tr>
				<tr>
				  <th> 付款方 ：</th>
				  <td > 
				  ${dto.payer}
				  </td>
				  <th> 收款方 ：</th>
				  <td colspan="3"> 
				  ${dto.gathering}
				  </td>
				</tr>
				
				<tr>
				
         </table>
		</div>
		<div class="expandTitle">
			<span class="text">债权信息</span><span class="expandBtn"></span>
		</div>
		<div class="expandContent">
	        <div id="jytableToolbar" class="tableToolbar" >
	            <a href="javascript:void(0)" onclick="initCreditDetailFn();" index="0">查询债权</a>
			    <a href="javascript:void(0)" onclick="toAddData()" index="1">试算</a>
			  	<a href="javascript:void(0)" onclick="toUpdateData()" index="2">导出</a>
	        </div>
			 <div id="creditDetailTable">
		      <%@include file="../creditManage/tCMmCreditDetail.jsp" %>
	         </div>
		</div>
		
		
		<div class="expandTitle">
			<span class="text">结算信息</span><span class="expandBtn"></span>
		</div>
		<div class="expandContent">
			 <table id="addNewsTableId" class="formTableSwap" border="0" align="center" cellpadding="0" cellspacing="1" >
				<tr>
				  <th> 试算风险金额 ：</th>
				  <td > 
					  <input type="text" class="text" id="ex_riskFundSum" name="ex_riskFundSum" notNull="false" value="" />
				  </td>
				  <th> 实际金额：</th>
				  <td>
				  	<input type="text" class="text" id="dtoriskFundDetailSum" name=riskFundDetailSum notNull="false" value="${dto.riskFundDetailSum}"  />
				  </td>
				    <th> 返还金额：</th>
				  <td>
                    <input type="text" class="text" id="dtoreturnSum" name="returnSum" notNull="false" value="${dto.returnSum}" />
				  </td>
				</tr>
				
         </table>
		</div>
	</div>
<!-- 保存 关闭 按钮 在 查询页面进行控制 -->  
</form>

</div>

</body>

<script type="text/javascript">

   $(document).ready(function(){
   	 checkedInit();
   	initCreditDetailFn();
	});
	
</script>
  
</html>
